﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using Croupier_iteration_1.ViewModel;
using Croupier_iteration_1.Model;
using System.Globalization;
using System.Windows.Data;

namespace Croupier_iteration_1.View
{
    public partial class JoueurView : UserControl
    {
        protected JoueurViewModel JoueurViewModel
        {
            get { return (JoueurViewModel)DataContext; }
            set
            {
                DataContext = value;
            }
        }

        public JoueurView()
        {
            InitializeComponent();
        }

        private void radHomme_Checked(object sender, RoutedEventArgs e)
        {
            JoueurViewModel.Genre = "Homme";
        }

        private void radFemme_Checked(object sender, RoutedEventArgs e)
        {
            JoueurViewModel.Genre = "Femme";
        }

    }

}
